package io.kiki.task.server.common;

import cn.hutool.core.net.url.UrlBuilder;
import io.netty.handler.codec.http.HttpHeaders;
import io.netty.handler.codec.http.HttpMethod;

/**
 * 处理http请求
 */
public interface HttpRequestHandler {

    boolean supports(String path);

    HttpMethod method();

    String doHandler(String content, UrlBuilder urlBuilder, HttpHeaders headers);

}
